<!DOCTYPE HTML>
<html ng-app="myApp">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title></title>
    <script src="../../js/plugins/angular/angular.min.js" type="text/javascript"></script>
    <script src="../../js/plugins/angular/angular-sanitize.min.js" type="text/javascript"></script>

    <script>
        var m1 = angular.module('myApp',['ngSanitize']);

        m1.controller('Aaa',['$scope',function ($scope) {
            $scope.text = '<h1>hjy</h1>';
        }]);



    </script>
</head>

<body>

<div ng-controller="Aaa">
    <div ng-bind-html="text"></div>
</div>

</body>
</html>
